package la.bbs558.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;
/**
 * 用户访问每日记录表(UserVisitDay)表实体类
 *
 * @author weihanmin
 * @since 2024-01-12 14:36:51
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
public class UserVisitDay extends Model<UserVisitDay> {
    
    /**
     * 主键id
     */
    private Long id;
    
    /**
     * 用户id,或ip
     */
    private String visitId;
    
    /**
     * 访问量
     */
    private Integer visitCnt;
    
    /**
     * 创建时间
     */
    private Date createTime;
    
    /**
     * 创建日期
     */
    private String createDate;
    

    //获取主键值
    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
